package pacman;

public enum Direction {

	UP (1),
	DOWN (2),
	LEFT (3),
	RIGHT (4);
	
	int dir;
	
	Direction(int dir) {
		this.dir = dir;
	}
	
	int getValue() {
		return dir;
	}
	Direction setValue(int dir) {
		this.dir = dir;
		return this;
	}
}
